<?php

namespace oauth2server\controllers;

use Yii;
//use common\components\Oauth2Controller as Controller;
use yii\web\Controller;

class TestController extends Controller{

    public function actionIndex(){
        exit("test/index");
    }

    public function actionToken(){
        exit("1");
        //$this->server->handleTokenRequest(\OAuth2\Request::createFromGlobals())->send();
    }

}
